import request from '@/utils/request'

export function getBloodMatchTypes(params) {
  return request({
    url: '/basedata/bloodMatchType',
    method: 'get',
    params,
  })
}

export function getProducts(params) {
  return request({
    url: '/basedata/product',
    method: 'get',
    params,
  })
}

export function getBloodOutboundReasons(params) {
  return request({
    url: '/basedata/bloodOutboundReason',
    method: 'get',
    params,
  })
}

export function getBloodCodes(params) {
  return request({
    url: '/basedata/bloodCodes',
    method: 'get',
    params,
  })
}

export function getBloodSources(params) {
  return request({
    url: '/basedata/bloodSources',
    method: 'get',
    params,
  })
}
